#ifndef QPROGRESSBARHOST_H
#define QPROGRESSBARHOST_H

#include "qwidgethost.h"

namespace SHAREDLIB
{

    class SHAREDLIB_EXPORT QProgressBarHost : public QWidgetHost
    {
        Q_OBJECT
    public:
        QProgressBarHost(QObject *object);
    public slots:
        void    setValue(int value);
        int     value();

        void    setAlignment(int alignment);
        int     alignment();

        void    setOrientation(int orientation);
        int     orientation();

        void    setFormat(const QString & format);
        QString format();

        void    setInvertedAppearance(bool invertedAppearance);
        bool    invertedAppearance();

        void    setTextVisible(bool textVisible);
        bool    textVisible();
    protected slots:
        void    valueChanged(int value);
    protected:
        void    propertyChanged();
    };

}

#endif // QPROGRESSBARHOST_H
